package com.example.scaletest.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;
import com.example.scaletest.R;

/**
 * Created by lenovo on 2016/10/20.
 */
public class TestActivity extends Activity {
    private TextView bt_mac_id;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test);
        bt_mac_id = (TextView) findViewById(R.id.mac_id);
        Intent intent =this.getIntent();
        String mac_id = intent.getStringExtra("mac_id");
        String staff_id = intent.getStringExtra("staff_id");
        bt_mac_id.setText(mac_id+"///"+staff_id);
    }
}